import 'package:fish_redux/fish_redux.dart';
import 'package:hayll_app_village_master/hayll/village_manager/home/grid/village_house_picker_component/action.dart';
import 'package:hayll_app_village_master/hayll/village_manager/home/village_grid_component/bean/village_grid_response.dart';

class VillageHousePickerState implements Cloneable<VillageHousePickerState> {
  VillageGridResult villageGrid = VillageGridResult();
  HousePickerMode mode = HousePickerMode.BUILD;
  VillageBuildGridResult selectedBuildInfo;
  VillageUnitGridResult selectedUnitInfo;
  VillageHouseGridResult selectedHouseInfo;
  List datas = List();
  @override
  VillageHousePickerState clone() {
    return VillageHousePickerState()
      ..villageGrid = villageGrid
      ..mode = mode
      ..selectedBuildInfo = selectedBuildInfo
      ..selectedUnitInfo = selectedUnitInfo
      ..selectedHouseInfo = selectedHouseInfo
      ..datas = datas;
  }
}

VillageHousePickerState initHousePickerState(Map<String, dynamic> args) {
  return VillageHousePickerState();
}
